x86/shadow: Drop all emulation for PV vcpus
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 5 Dec 2016 11:35:32 +0000 (11:35 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 13 Dec 2016 17:23:42 +0000 (17:23 +0000)
commit590a287455e67c3c7b96c5ac6e5a60a7a7960302
tree9d36754ec7329aad0a7b4e7c0ea091f912c14490
parent40459535279908631610c6c71cff4586fff7aad5
x86/shadow: Drop all emulation for PV vcpus

Emulation is only performed for paging_mode_refcount() domains, which in
practice means HVM domains only.

Drop the PV emulation code.  As it always set addr_side and sp_size to
BITS_PER_LONG, it can't have worked correctly for PV guests running in a
different mode to Xen.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/mm/shadow/multi.c